<template>
    <div class="box">
        <button @click="$router.push('/jscourse')">js课程</button>
        <button @click="$router.push('/phpcourse')">php课程</button>

        <router-view></router-view>
    </div>
</template>

<script>
export default {
   

    data() {
        return {

        };
    },

    mounted() {

    },

    methods: {

    },
};
</script>

<style lang="scss" scoped>
    .box {
        margin-top: 20px;
    width: 200px;
    height: 200px;
    border: 3px solid black;
}
    button{
        margin-top: 20px;
        width: 100px;
        height: 40px;
        border: 3px solid black;
    }
</style>